//
//  YWThisMonthReadingMeterCount.h
//  maintain
//
//  Created by 郑想 on 16/2/29.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <Foundation/Foundation.h>
@class YWBuilding;

//能源仪表计费类型
typedef NS_ENUM(NSUInteger, YWMeterChargeType) {
    YWMeterChargeTypePersonLifeWater = 10,//居民生活用水
    YWMeterChargeTypeUnManagerWater = 11,//非经营性用水
    YWMeterChargeTypeManagerWater = 12,//经营性用水
    YWMeterChargeTypeSpecialWater = 13,//特种用水
    YWMeterChargeTypeHotelWater = 14,//酒店用水
    
    YWMeterChargeTypePersonLifeElectric = 20,//居民生活用电
    YWMeterChargeTypeUnPersonLightingElectric = 21,//非居民照明用电
    YWMeterChargeTypeBusinessElectric = 22,//商业用电
    YWMeterChargeTypeUnIndustryElectric = 23,//非工业用电
    YWMeterChargeTypeNormalIndustryElectric = 24,//普通工业用电
    YWMeterChargeTypeBigIndustryElectric = 25,//大工业用电
    YWMeterChargeTypeHotelElectric = 26,//酒店用电
    
    YWMeterChargeTypePersonLifeGas = 30,//居民生活用气
    YWMeterChargeTypeHotelGas = 31,//酒店用气
};

@interface YWThisMonthReadingMeterCountJson : NSObject
@property (nonatomic, strong) YWBuilding* building;
@property (nonatomic, strong) NSArray* meterStatistics;
@end

@interface YWMeterEquipmentTypeJson : NSObject
//仪表类型Id
@property (nonatomic, assign) NSInteger equipmentTypeId;
//仪表类型名称
@property (nonatomic, copy) NSString* equipmentTypeName;
@end

@interface YWMeterStatistics : NSObject
/**仪表类型数量*/
@property (nonatomic, strong) YWMeterEquipmentTypeJson* equipmentType;
/**仪表数量*/
@property (nonatomic, assign) NSInteger total;
/**本月已抄数量*/
@property (nonatomic, assign) NSInteger recordedAmount;
@end


@interface YWThisMonthReadingMeterCount : NSObject
//楼盘Id
@property (nonatomic, copy) NSString* buildingId;
//仪表类型Id
@property (nonatomic, assign) NSInteger equipmentTypeId;
/**仪表数量*/
@property (nonatomic, assign) NSInteger total;
/**本月已抄数量*/
@property (nonatomic, assign) NSInteger recordedAmount;
@end

@interface YWMeterChargeTypeObject : NSObject
//计费类型Id
@property (nonatomic, assign) YWMeterChargeType meterChargeTypeId;
//计费类型名称
@property (nonatomic, copy) NSString* meterChargeTypeName;
@end
